﻿<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="ztDetail.aspx.cs" Inherits="_Default" %>
<%@ Register Assembly="TVControls" Namespace="Microsoft.TV.TVControls" TagPrefix="mrml" %>
<%@ Register assembly="TVControls" namespace="Microsoft.TV.TVControls.Actions" TagPrefix="mrml" %>
<%@ Register assembly="TVControls" namespace="Microsoft.TV.TVControls.Animations" TagPrefix="mrml" %>
<%@ Import Namespace="System.Collections.Generic" %>
<%@ Import Namespace="IPTV.module" %>
<%@ Import Namespace="IPTV.util" %>

       
    <form id="form1" runat="server">

       
    <mrml:TVPage ID="TVMainPage" runat="server" 
        style="position:absolute; height:480; width:853;" StyleClass="Page.Animated">
   
        <mrml:TVHorizontalFlowPanel ID="ztPanel" runat="server" 
            Style="position: absolute; top:67px; left: 440px; height: 390px; width: 350px;" >   

                <mrml:TVXmlDataSource ID="zt_menu" runat="server" 
                    Style="position: absolute; left: 0px; top: 0px;" 
                    Url="../Data/zt/ztDetail.xml" />   
 
                <mrml:TVPhysicsTable ID="tpt" runat="server" Style="position: absolute; top:0px; left: 0px; height: 390px; width: 350px;"
                     autoFlow="Horizontal" ElementWidth="450" AlignCursors="Slide" 
                    DataBinder="XmlDataBinder,zt_menu,listitems" DataSourceSemantics="Flat">
            
                    <mrml:TVPhysicsRowTemplate ID="trt" AutoFlow="Horizontal" runat="server" ElementHeight="36" ElementWidth="400"
                         HeaderTemplate="header" Style="position: absolute; top:20px; left: 0px; height: 0px; width: 400px;"
                         TemplateName="Row"  >
                     
                        <mrml:TVPhysicsTemplate ID="tpt1" runat="server" OnClick="CourseSelect.Click" OnHighlight="setLableDetialAction refreshImgAction"
                           Style="position: absolute; height: 40px; width: 400px;" TemplateName = "Entry" StyleClass = "Button.Menu"
                           RenderDepth="Both" VerticalAlign="Center" FontStyle="Reg24" ClipChildren="true" Ellipsis="Allowed" Text="$(@title)" 
                           Foreground="rgb(0, 0, 0)">
                        
                            <mrml:TVActions ID="TVActions3" runat="server">
                                <mrml:NavigateAction  Name="CourseSelect.Click" Data="$(@url)"/>
                            </mrml:TVActions>
                        </mrml:TVPhysicsTemplate>
                    </mrml:TVPhysicsRowTemplate>

                    <mrml:TVPhysicsTemplate ID="tpt2" runat="server" Style="position: absolute; top:-10px; left:0px; height: 69px; width: 495px;"
                       TemplateName = "header" Foreground="argb(255, 147, 195, 225)" RenderDepth="Background" FontStyle="Bold39">
                        <mrml:TVPhysicsTemplate id="tpt3" runat="server" 
                            Style="position: absolute; top:10px; left:420px; height: 25px; width: 25px;" background="image(file:/Arrow_Scroll_Up.png)" 
                            physicsfade="and(gt(endscrollposition.vertical),selected.horizontal)"></mrml:TVPhysicsTemplate> 
                        <mrml:TVPhysicsTemplate id="tpt4" runat="server" 
                            Style="position: absolute; top:277px; left:420px; height: 25px; width: 25px;" 
                            background="image(file:/Arrow_Scroll_Down.png)" 
                            physicsfade="and(gt(endscrollposition.vertical),selected.horizontal)" />    
                    </mrml:TVPhysicsTemplate>
                
                </mrml:TVPhysicsTable>
 
    </mrml:TVHorizontalFlowPanel> 
    </mrml:TVPage>
</form>

